<template>
    <div class="home-weekend">
        <p class="title">周末去哪</p>
        <div class="list">
            <div class="item" v-for="item in dt">
                <img :src="item.imgUrl" alt="">
                <p>{{ item.title }}</p>
                <p>{{ item.desc }}</p>
            </div>
        </div>
    </div>
</template>

<script>
    export default {
        name: "HomeWeekend",
        props: ['dt']
    }
</script>

<style scoped>
    .title {
        background: #eeeeee;
        padding: 10px;
        box-sizing: border-box;
        font-size: 15px;
    }
    .item img {
        width: 100%;
    }
    .item p {
        font-size: 14px;
        padding: 0 10px;
        line-height: 25px;
    }

</style>